﻿<%
' 产品展示个体
sub productbox(temprs)
 %>
<div class="pbox"><table cellpadding="0" cellspacing="0" style="margin-bottom:6px;"><tr><td class="img" onclick="window.location='productdetail.asp?id=<%=temprs.fields("id") %>';"><img src="s_<%=temprs.fields("focuspic") %>" alt="" align="absmiddle" /></td></tr></table><div class="txt"><a href="productlist.asp?classid1=<%=temprs.fields("classid1") %>"><%=temprs.fields("classname1") %></a><br /><a href="productdetail.asp?id=1"><b><%=temprs.fields("title") %></b></a><br /><a href="productdetail.asp?id=1" style="color: #ae0101;">Retail: <%=FormatNumber(temprs.fields("saleprice")) %></a></div><div class="btn"><a href="shopping/add2cart.asp?productid=<%=temprs.fields("id") %>"><img src="images/addtocart.jpg" alt="" align="absmiddle" /></a></div></div>
 <% end sub %>